package e

const (
	SUCCESS            = 200
	ERROR              = 500
	InvalidParams      = 400
	ErrorNotExistToken = 401

	ErrorExistTag          = 10001
	ErrorNotExistTag       = 10002
	ErrorCheckExistTagFail = 10003
	ErrorGetTagsFail       = 10004
	ErrorCountTagFai       = 10005
	ErrorAddTagFail        = 10006
	ErrorEditTagFail       = 10007
	ErrorDeleteTagFail     = 10008
	ErrorExportTagFail     = 10009
	ErrorImportTagFail     = 10010

	ErrorNotExistArticle       = 10011
	ErrorCheckExistArticleFail = 10012
	ErrorGetArticleFail        = 10013
	ErrorCountArticleFail      = 10014
	ErrorGetArticlesFail       = 10015
	ErrorAddArticleFail        = 10016
	ErrorEditArticleFail       = 10017
	ErrorDeleteArticleFail     = 10018
	ErrorGenArticlePosterFail  = 10019

	ErrorAuthCheckTokenFail    = 20001
	ErrorAuthCheckTokenTimeout = 20002
	ErrorAuthToken             = 20003
	ErrorAuth                  = 20004
	ErrorParseToken            = 20005
	ErrorValidToken            = 20006

	// ErrorUploadSaveImageFail 保存图片失败
	ErrorUploadSaveImageFail = 30001
	// ErrorUploadCheckImageFail 检查图片失败
	ErrorUploadCheckImageFail = 30002
	// ErrorUploadCheckImageFormat 校验图片错误，图片格式或大小有问题
	ErrorUploadCheckImageFormat = 30003
)
